=== SYNOPSYS ===
{{{
#include <xp/bas/thr.h>

xp_thr_t* xp_thr_open (xp_thr_t* thr, int (*routine) (xp_thr_t*), void* user_data);
void xp_thr_close (xp_thr_t* thr);
int xp_thr_start (xp_thr_t* thr, int flags, ...);
int xp_thr_stop (xp_thr_t* thr);
int xp_thr_join (xp_thr_t* thr);
int xp_thr_detach (xp_thr_t* thr);
int xp_thr_kill (xp_thr_t* thr, int sig);
int xp_thr_blocksig (xp_thr_t* thr, int sig);
int xp_thr_unblocksig (xp_thr_t* thr, int sig);
int xp_thr_blockallsigs (xp_thr_t* thr);
int xp_thr_unblockallsigs (xp_thr_t* thr);
}}}
